﻿using System;

/// <summary>
/// Класс категории
/// </summary>
public class CategoryDetails
{
    private Int64 categoryId;
    private String categoryName;
    private Boolean showInShortList;
    private Int32 orderN;

    public Int64 CategoryId
    {
        get { return categoryId; }
        set { categoryId = value; }
    }

    private Int64 parentId;

    public Int64 ParentId
    {
        get { return parentId; }
        set { parentId = value; }
    }

    public String CategoryName
    {
        get { return categoryName; }
        set { categoryName = value; }
    }

    public Boolean ShowInShortList
    {
        get { return showInShortList; }
        set { showInShortList = value; }
    }

    public Int32 OrderN
    {
        get { return orderN; }
        set { orderN = value; }
    }

    public CategoryDetails(Int64 categoryId, Int64 parentId, String categoryName, Boolean showInShortList, Int32 orderN)
    {
        this.categoryId = categoryId;
        this.parentId = parentId;
        this.categoryName = categoryName;
        this.showInShortList = showInShortList;
        this.orderN = orderN;
	}
}